import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'menuicon'
})
export class MenuiconPipe implements PipeTransform {

  transform(value: any, args?: any): any {
    if(value=='极速彩'){
        return ' ion-ios-su';
    }else if(value=='时时彩'){
      return ' ion-ios-shishicai';
    }else if(value=='快开彩'){
      return ' ion-ios-kuaikai';
    }else if(value=='六合彩'){
      return ' ion-ios-xianggangcai';
    }else if(value=='全国彩'){
      return 'ion-ios-quanguocai';
    }
    return "";
  }

}
